﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/FoodMaster.Master"
    Inherits="System.Web.Mvc.ViewPage<MBS_FoodBooking.Models.ShoppingCartModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    <h2>
        ViewCart</h2>
      <%--   <% using (Html.BeginForm("ShowCart", "FoodBooking"))
       { %>--%>
    <table>
        <% foreach (var item in Model.LstShoppingCart)
           { %>
        <tr>
            <td>
                <div>
                    <table>
                        <tr>
                            <td>
                                <%= Html.Label(item.ItemName) %>
                            </td>
                            <td>
                                <%= Html.Label(item.ItemPrice.ToString()) %>
                            </td>
                            <td>
                                <%= Html.Label(item.Quantity.ToString()) %>
                            </td>
                        </tr>
                    </table>
                </div>
            </td>
        </tr>
        <% } %>
        <tr>
            <td>
                <button id="btnProceed" type="submit">
                    <img src="../../Content/Images/checkout.png" />
                </button>
            </td>
        </tr>
    </table>
    <%-- <% } %>--%>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="head" runat="server">
</asp:Content>
